using UnityEngine;
using System.Collections;

public class BombMoveHard : MonoBehaviour {

	public int moveSpeed = 80;
	Vector3 moveDirection = new Vector3(0,-1,0);
	
	
	
	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
		Vector3 newPosition = moveDirection * (moveSpeed * Time.deltaTime);
		transform.position = transform.position + newPosition;
		
	}

	void OnCollisionEnter(Collision collision)
	{
		//print("Huh?");
		moveDirection.y *= +1;
	}

}